package com.ys.entity.report;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].RE_DeptRevenueExpenditure", catalog="Id")
public class ReDeptRevenueExpenditure extends BaseEntity<ReDeptRevenueExpenditure> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="AccountCode", nameJava="accountCode", typeDataBase="varchar")
	private String accountCode;
	@YsField(nameDataBase="AccountName", nameJava="accountName", typeDataBase="varchar")
	private String accountName;
	@YsField(nameDataBase="AccountType", nameJava="accountType", typeDataBase="varchar")
	private String accountType;
	@YsField(nameDataBase="DealType", nameJava="dealType", typeDataBase="varchar")
	private String dealType;
	@YsField(nameDataBase="CountType", nameJava="countType", typeDataBase="tinyint")
	private Integer countType;
	@YsField(nameDataBase="JanCount", nameJava="janCount", typeDataBase="decimal")
	private BigDecimal janCount;
	@YsField(nameDataBase="FebCount", nameJava="febCount", typeDataBase="decimal")
	private BigDecimal febCount;
	@YsField(nameDataBase="MarCount", nameJava="marCount", typeDataBase="decimal")
	private BigDecimal marCount;
	@YsField(nameDataBase="AprCount", nameJava="aprCount", typeDataBase="decimal")
	private BigDecimal aprCount;
	@YsField(nameDataBase="MayCount", nameJava="mayCount", typeDataBase="decimal")
	private BigDecimal mayCount;
	@YsField(nameDataBase="JunCount", nameJava="junCount", typeDataBase="decimal")
	private BigDecimal junCount;
	@YsField(nameDataBase="JulCount", nameJava="julCount", typeDataBase="decimal")
	private BigDecimal julCount;
	@YsField(nameDataBase="AugCount", nameJava="augCount", typeDataBase="decimal")
	private BigDecimal augCount;
	@YsField(nameDataBase="SeptCount", nameJava="septCount", typeDataBase="decimal")
	private BigDecimal septCount;
	@YsField(nameDataBase="OctCount", nameJava="octCount", typeDataBase="decimal")
	private BigDecimal octCount;
	@YsField(nameDataBase="NovCount", nameJava="novCount", typeDataBase="decimal")
	private BigDecimal novCount;
	@YsField(nameDataBase="DecCount", nameJava="decCount", typeDataBase="decimal")
	private BigDecimal decCount;
	@YsField(nameDataBase="YearCount", nameJava="yearCount", typeDataBase="decimal")
	private BigDecimal yearCount;
	@YsField(nameDataBase="YearNum", nameJava="yearNum", typeDataBase="int")
	private Integer yearNum;
	@YsField(nameDataBase="MonthLastDayCount", nameJava="monthLastDayCount", typeDataBase="decimal")
	private BigDecimal monthLastDayCount;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ReDeptRevenueExpenditure setId(Long id) {
		this.id = id;
		return this;
	}
	public String getAccountCode() {
		return accountCode;
	}
	public ReDeptRevenueExpenditure setAccountCode(String accountCode) {
		this.accountCode = accountCode;
		return this;
	}
	public String getAccountName() {
		return accountName;
	}
	public ReDeptRevenueExpenditure setAccountName(String accountName) {
		this.accountName = accountName;
		return this;
	}
	public String getAccountType() {
		return accountType;
	}
	public ReDeptRevenueExpenditure setAccountType(String accountType) {
		this.accountType = accountType;
		return this;
	}
	public String getDealType() {
		return dealType;
	}
	public ReDeptRevenueExpenditure setDealType(String dealType) {
		this.dealType = dealType;
		return this;
	}
	public Integer getCountType() {
		return countType;
	}
	public ReDeptRevenueExpenditure setCountType(Integer countType) {
		this.countType = countType;
		return this;
	}
	public BigDecimal getJanCount() {
		return janCount;
	}
	public ReDeptRevenueExpenditure setJanCount(BigDecimal janCount) {
		this.janCount = janCount;
		return this;
	}
	public BigDecimal getFebCount() {
		return febCount;
	}
	public ReDeptRevenueExpenditure setFebCount(BigDecimal febCount) {
		this.febCount = febCount;
		return this;
	}
	public BigDecimal getMarCount() {
		return marCount;
	}
	public ReDeptRevenueExpenditure setMarCount(BigDecimal marCount) {
		this.marCount = marCount;
		return this;
	}
	public BigDecimal getAprCount() {
		return aprCount;
	}
	public ReDeptRevenueExpenditure setAprCount(BigDecimal aprCount) {
		this.aprCount = aprCount;
		return this;
	}
	public BigDecimal getMayCount() {
		return mayCount;
	}
	public ReDeptRevenueExpenditure setMayCount(BigDecimal mayCount) {
		this.mayCount = mayCount;
		return this;
	}
	public BigDecimal getJunCount() {
		return junCount;
	}
	public ReDeptRevenueExpenditure setJunCount(BigDecimal junCount) {
		this.junCount = junCount;
		return this;
	}
	public BigDecimal getJulCount() {
		return julCount;
	}
	public ReDeptRevenueExpenditure setJulCount(BigDecimal julCount) {
		this.julCount = julCount;
		return this;
	}
	public BigDecimal getAugCount() {
		return augCount;
	}
	public ReDeptRevenueExpenditure setAugCount(BigDecimal augCount) {
		this.augCount = augCount;
		return this;
	}
	public BigDecimal getSeptCount() {
		return septCount;
	}
	public ReDeptRevenueExpenditure setSeptCount(BigDecimal septCount) {
		this.septCount = septCount;
		return this;
	}
	public BigDecimal getOctCount() {
		return octCount;
	}
	public ReDeptRevenueExpenditure setOctCount(BigDecimal octCount) {
		this.octCount = octCount;
		return this;
	}
	public BigDecimal getNovCount() {
		return novCount;
	}
	public ReDeptRevenueExpenditure setNovCount(BigDecimal novCount) {
		this.novCount = novCount;
		return this;
	}
	public BigDecimal getDecCount() {
		return decCount;
	}
	public ReDeptRevenueExpenditure setDecCount(BigDecimal decCount) {
		this.decCount = decCount;
		return this;
	}
	public BigDecimal getYearCount() {
		return yearCount;
	}
	public ReDeptRevenueExpenditure setYearCount(BigDecimal yearCount) {
		this.yearCount = yearCount;
		return this;
	}
	public Integer getYearNum() {
		return yearNum;
	}
	public ReDeptRevenueExpenditure setYearNum(Integer yearNum) {
		this.yearNum = yearNum;
		return this;
	}
	public BigDecimal getMonthLastDayCount() {
		return monthLastDayCount;
	}
	public ReDeptRevenueExpenditure setMonthLastDayCount(BigDecimal monthLastDayCount) {
		this.monthLastDayCount = monthLastDayCount;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ReDeptRevenueExpenditure setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ReDeptRevenueExpenditure setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ReDeptRevenueExpenditure setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ReDeptRevenueExpenditure reDeptRevenueExpenditure(
		String accountCode,
		String accountName,
		String accountType,
		String dealType,
		Integer countType,
		BigDecimal janCount,
		BigDecimal febCount,
		BigDecimal marCount,
		BigDecimal aprCount,
		BigDecimal mayCount,
		BigDecimal junCount,
		BigDecimal julCount,
		BigDecimal augCount,
		BigDecimal septCount,
		BigDecimal octCount,
		BigDecimal novCount,
		BigDecimal decCount,
		BigDecimal yearCount,
		Integer yearNum,
		BigDecimal monthLastDayCount,
		Integer status
			) {
		ReDeptRevenueExpenditure entity = new ReDeptRevenueExpenditure();
		entity.setAccountCode(accountCode);
		entity.setAccountName(accountName);
		entity.setAccountType(accountType);
		entity.setDealType(dealType);
		entity.setCountType(countType);
		entity.setJanCount(janCount);
		entity.setFebCount(febCount);
		entity.setMarCount(marCount);
		entity.setAprCount(aprCount);
		entity.setMayCount(mayCount);
		entity.setJunCount(junCount);
		entity.setJulCount(julCount);
		entity.setAugCount(augCount);
		entity.setSeptCount(septCount);
		entity.setOctCount(octCount);
		entity.setNovCount(novCount);
		entity.setDecCount(decCount);
		entity.setYearCount(yearCount);
		entity.setYearNum(yearNum);
		entity.setMonthLastDayCount(monthLastDayCount);
		entity.setStatus(status);
		return entity;
	}
}